<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
	        <li><a href="{:U('Floor/index')}" target="_self">{:L('PORTAL_ADMINPOST_INDEX')}</a></li>
	        <li class="active"><a href="#A" data-toggle="tab">{:L('GENERAL_SETTING')}</a></li>
	    </ul>
		<form class="form-horizontal js-ajax-form" action="{:U('Floor/add_post')}" method="post">
			<div class="tabbable" >
		        <div class="tab-content" style='width:500px; float:left;'>
		          <div class="tab-pane active" id="A">
						<fieldset>
							<div class="control-group">
								<label class="control-label">{:L('NAME')}</label>
								<div class="controls">
									<input type="text" name="name" value=""><span class="form-required">*</span>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">别名</label>
								<div class="controls">
									<input type='text' name='shortname' value=""/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">{:L('CATEGORY_DESCRIPTION')}</label>
								<div class="controls">
									<textarea name="description" rows="5" cols="57"></textarea>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">{:L('CATEGORY_ORDER')}</label>
								<div class="controls">
									<input type='text' name='order' value="0"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">关联世贸楼层ID</label>
								<div class="controls">
									<input type='text' name='smid' value="0"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">状态</label>
								<div class="controls">
									<label class='radio inline'><input type='radio' checked='checked' name='status' value="1"/>启用</label>
									<label class='radio inline'><input type='radio' name='status' value="0"/>禁用</label>
								</div>
							</div>
						</fieldset>
		          </div>
		        </div>
		        <div style='float:left; width:400px;'>
		        	<h4>世贸关联ID参照表</h4>
		        	<ul>
		        	<Volist name="sm_floors" id='vo'>
		        		<li>ID:{$vo.areaid}————楼层：{$vo.areaname}</li>
		        	</Volist>
		        	</ul>
		        </div>
		    </div>
		    <div class="form-actions">
		     	<button class="btn btn-primary js-ajax-submit"type="submit">{:L('ADD')}</button>
		      	<a class="btn" href="javascript:history.back(-1);">{:L('BACK')}</a>
		    </div>
		</form>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>